/*
 * @Descripttion: 
 * @version: 用户管理
 * @Author: ada.wu
 * @Date: 2023-10-30 16:11:30
 * @LastEditors: ada.wu
 * @LastEditTime: 2023-12-06 00:24:26
 */



import { mapValue } from '@/utils/EsCommon';

export function userParams() {
  const modelRef = {
    Id: "0",
    UserType: "",
    UserName: "",
    RealName: "",
    Mobile: "",
    Email: "",
    Status: "1",
    UserPwd: "",
    IsSuper: false,
    //角色
    RoleIds: "",
    //请选择企业
    OperatorId: "",
  }
  return modelRef
}

export const USER_TYPE = {
  '0': '系统管理员',
  '1': '企业用户管理员',
  '2': '运营商管理员',
  '3': '推广渠道管理员',
}

export const userTypeList = mapValue(USER_TYPE);


